package com.cll.prototype.common.config.web;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * 描述信息:
 *
 * @author CLL
 * @version 1.0
 * @date 2020/10/28 20:48
 */
@Configuration
public class RestTemplateConfiguration {

    /**
     * restful风格调用http请求
     * @return  rest调用模板
     */
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
